//
//  UIView+MKExtension.h
//  MAKCommon
//
//  Created by zhuwh on 2016/12/30.
//  Copyright © 2016年 mark. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView(MAKExtension)

@property (nonatomic, assign) CGFloat mak_x;

@property (nonatomic, assign) CGFloat mak_y;

@property (nonatomic, assign) CGFloat mak_width;

@property (nonatomic, assign) CGFloat mak_height;

@property (nonatomic, assign) CGSize mak_size;

@property (nonatomic, assign) CGFloat mak_centerX;

@property (nonatomic, assign) CGFloat mak_centerY;

/**
 * 判断一个控件是否真正显示在主窗口
 */
- (BOOL)mak_isShowingOnKeyWindow;

@end
